
<form id="form" action="{:url('setting/info')}">
<table class="formtable">
    <tr>
        <th>置顶(￥):</th>
        <td>
            <label>2天:</label><input class="input w60" datatype="*" type="text" name="today[0]" value="{if !empty($info)}{$info[0]['money']/100|intval}{/if}" />
            <label>7天:</label><input class="input w60" datatype="*" type="text" name="today[1]" value="{if !empty($info)}{$info[1]['money']/100|intval}{/if}" />
            <label>15天:</label><input class="input w60" datatype="*" type="text" name="today[2]" value="{if !empty($info)}{$info[2]['money']/100|intval}{/if}" />
            <label>30天:</label><input class="input w60" datatype="*" type="text" name="today[3]" value="{if !empty($info)}{$info[3]['money']/100|intval}{/if}" />
        </td>
    </tr>
    <tr>
        <th>置顶直推:</th>
        <td><input class="input" datatype="*" type="text" name="bring" value="{$config.bring}" /> % <span class="gray">会员直推奖励</span></div></td>
    </tr>
    <tr>
        <th>置顶间推:</th>
        <td><input class="input" datatype="*" type="text" name="reward" value="{$config.reward}" /> % <span class="gray">会员间推奖励</span></div></td>
    </tr>
    <tr>
        <th>手续费:</th>
        <td><input class="input" datatype="*" type="text" name="charge" value="{$config.charge}" /> %  <span class="gray">用户下单手续的服务费</span></td>
    </tr>
    <tr><th></th>
        <td>
            <input type="submit" value="确定" class="button submit" />
            <input type="reset" value="重置" class="button button-blank" />
        </td>
    </tr>
</table>
</form>
<script type="text/javascript">
Do('base', 'layer', 'form', function () {
    $('#form').isForm();
})
</script>